package learn.design.patterns.E_Builder.BuilderWithStaticNestedClass;


import learn.design.patterns.E_Builder.BuilderWithoutDirector.WithoutDirectorComputer;

public class TestClass {
    public static void main(String[] args) {
        StaticComputer computer = new StaticComputer.ComputerBuilder()
                .withProcessor("Intel Core i7")
                .withRam("16GB DDR4")
                .withHardDrive("1TB SSD")
                .build();

        System.out.println("Processor: " + computer.getProcessor());
        System.out.println("RAM: " + computer.getRam());
        System.out.println("Hard Drive: " + computer.getHardDrive());
    }
}
